//
//  CarDetailTableViewCell.m
//  OneCreditTreasure
//
//  Created by iOS Grouper on 16/8/29.
//
//

#import "CarDetailTableViewCell.h"

@implementation CarDetailTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatView];
    }
    
    return self;
}
- (void)creatView{
    UILabel *titleL = [UILabel new];
    [self.contentView addSubview:titleL];
    [titleL mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(10 * AUTO_HEIGHT);
        make.left.mas_equalTo(10 * AUTO_WIDTH);
        make.height.mas_equalTo(15 * AUTO_HEIGHT);
    
        
    }];
    titleL.text = @"车辆描述";
    titleL.textColor = HS;
    titleL.font = [UIFont fontWithName:ZIXING size:TEXTCONTENTFONT2];
    
    
    _textL  = [UILabel new];
    [self.contentView addSubview:_textL];
    [_textL mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(titleL.mas_bottom).offset(5 * AUTO_HEIGHT);
        make.left.mas_equalTo(titleL);
        make.height.mas_equalTo(15 * AUTO_HEIGHT);
        
    }];
    _textL.textColor = HS;
    _textL.font = [UIFont fontWithName:ZIXING size:TEXTLABELFONT];
    _textL.text = @"dwdad";
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
